package com.email.util;

import java.io.BufferedReader;
import java.io.BufferedWriter;

/**
 * 邮件实体 相关邮件消息
 * 明
 * 2010-03-12
 */
public class EmailMessage {

	// 发件人
	private String from;
	// 收件人
	private String to;
	// 用户名
	private String userName;
	// 密码
	private String password;
	// 标题
	private String subject;
	// 内容
	private String content;
	// 服务器
	private String server;
	// 端口
	private int port;
	// 读取流
	private BufferedReader reader;
	// 写入流
	private BufferedWriter writer;
	
	public String getFrom() {
		return from;
	}
	public void setFrom(String from) {
		this.from = from;
	}
	public String getTo() {
		return to;
	}
	public void setTo(String to) {
		this.to = to;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getSubject() {
		return subject;
	}
	public void setSubject(String subject) {
		this.subject = subject;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getServer() {
		return server;
	}
	public void setServer(String server) {
		this.server = server;
	}
	public int getPort() {
		return port;
	}
	public void setPort(int port) {
		this.port = port;
	}
	public BufferedReader getReader() {
		return reader;
	}
	public void setReader(BufferedReader reader) {
		this.reader = reader;
	}
	public BufferedWriter getWriter() {
		return writer;
	}
	public void setWriter(BufferedWriter writer) {
		this.writer = writer;
	}
	
}
